package my.soft.aiteacher.teacher.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 视频字幕
 * </p>
 *
 * @author GMCX
 * @since 2025-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("video_caption")
public class VideoCaption implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字幕开始时间
     */
    private Long openTime;

    /**
     * 字幕结束时间
     */
    private Long endTime;

    /**
     * 字幕内容
     */
    private String caption;

    /**
     * 文件id
     */
    private Long fileId;

    private Integer sort;

}
